package com.jic.market.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.market.entity.DiscountConditionPromotionDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 优惠条件活动明细表
 * @author : 
 * @email : 
 * @since : 2020-04-30 11:43:39
 * @version : v1.0.0
 */
@Mapper
public interface  DiscountConditionPromotionDetailMapper {

    long insert(DiscountConditionPromotionDetail discountConditionPromotionDetail);

    long delete(Long id);

    long update(DiscountConditionPromotionDetail discountConditionPromotionDetail);

    DiscountConditionPromotionDetail queryByPrimaryKey(Long id);

    List<DiscountConditionPromotionDetail> query(DiscountConditionPromotionDetail discountConditionPromotionDetail);

    List<DiscountConditionPromotionDetail> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("discountConditionPromotionDetail") DiscountConditionPromotionDetail discountConditionPromotionDetail);

    long queryPageCount(DiscountConditionPromotionDetail discountConditionPromotionDetail);
}